package team.seekers.catering.community.entity.vo.info;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import team.seekers.catering.community.entity.vo.list.FirstCommentListVO;

import java.util.List;

@Data
public class PostInfoVO {
    private String id;

    @ApiModelProperty(value = "帖子名称")
    private String name;

    @TableField("u_id")
    private String userId;

    private String userName;

    private String avatar;

    private List<String> picture;

    @ApiModelProperty(value = "帖子内容")
    private String content;

    @ApiModelProperty(value = "点赞用户名称集合")
    private List<String> likeUsersName;

    @ApiModelProperty(value = "点赞数")
    private Integer likeNum;

    @ApiModelProperty(value = "一级评论集合")
    private List<FirstCommentListVO> commentsFirst;

    @ApiModelProperty(value = "评论数")
    private Integer commentsNum;
}
